package com.tancire.common.enums;

/**
 * 商品状态
 *
 * @author chenchao
 */
public enum GoodsStatus {

    DRAFT("0", "待上架"),
    AUDIT("1", "待审核"),
    LISTED("2", "已上架"),
    DELISTING("3", "已下架");

    private final String code;
    private final String info;

    GoodsStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
